﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AspxPage.aspx.cs" Inherits="CSPTest.Admin.AspxPage" %>

<asp:Content ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <table border="1">
        <tr>
            <td>
                FullName
            </td>
            <td>
                BelongsTo
            </td>
        </tr>
        </tr>
        <tbody>
            <asp:Repeater runat="server" DataSourceID="ObjectDataSource1">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Eval("FullName") %>
                        </td>
                        <td>
                            <input type="checkbox" value="<%#Eval("FullName") %>$CCS" name="AspxPage" />CCS
                            <input type="checkbox" value="<%#Eval("FullName") %>$Admin" name="AspxPage" />Admin
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </tbody>
    </table>
    <asp:Button ID="Button2" runat="server" Text="Update To DB!!" OnClick="UpdateToDB_Click" />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAspxPages"
        TypeName="CSP.BL.PageHelper"></asp:ObjectDataSource>
</asp:Content>
